package online.hxstart.code.dataalgorithm.chapter1;

/**
 * @author huxing
 * @date 2019/6/6 星期四 12:05
 * @describe
 */
public class Try2 {

  public interface I {
    void Ifi(int n);
  }

  class A implements I {
    @Override
    public void Ifi(int n) {

      System.out.println("A Ifi is " + n);
    }
  }

  abstract class Ac {
    abstract void Acf1(int n);

    void Acf2(int n) {
      System.out.println("ACF2 " + n);
    }
  }

  class B extends Ac {

    @Override
    void Acf1(int n) {
      System.out.println("BACF1 " + n);
    }
  }
}
